home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / dev / gcc / gcc270_src.lha / gcc-2.7.0-amiga / config / i386 / sco4dbx.h < prev    next >
C/C++ Source or Header  |  1995-06-15  |  3KB  |  82 lines

  1. /* Definitions for Intel 386 running SCO Unix System V 3.2 Version 4.s,
  2.    using dbx-in-coff encapsulation.
  3.    Copyright (C) 1992 Free Software Foundation, Inc.
  4.  
  5. This file is part of GNU CC.
  6.  
  7. GNU CC is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2, or (at your option)
  10. any later version.
  11.  
  12. GNU CC is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with GNU CC; see the file COPYING.  If not, write to
  19. the Free Software Foundation, 59 Temple Place - Suite 330,
  20. Boston, MA 02111-1307, USA.  */
  21.  
  22.  
  23. /* Mostly it's like earlier SCO UNIX.  */
  24.  
  25. #include "i386/scodbx.h"
  26.  
  27. /* Use crt1.o as a startup file and crtn.o as a closing file.  */
  28.  
  29. #undef STARTFILE_SPEC
  30. #define STARTFILE_SPEC \
  31.  "%{!r:%{!z:gcc.ifile%s}%{z:gccz.ifile%s}}\
  32.   %{scoxpg3:%{p:mcrt1X.o%s}%{!p:crt1X.o%s}} \
  33.   %{!scoxpg3:\
  34.    %{posix:%{p:mcrt1P.o%s}%{!p:crt1P.o%s}} \
  35.    %{!posix:\
  36.     %{ansi:%{p:mcrt1A.o%s}%{!p:crt1A.o%s}} \
  37.     %{!ansi:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}}}}"
  38.  
  39. #undef ENDFILE_SPEC
  40. #define ENDFILE_SPEC \
  41.  "%{scoxpg3:crtnX.o%s} \
  42.   %{!scoxpg3:\
  43.    %{posix:crtnP.o%s} \
  44.    %{!posix:\
  45.     %{ansi:crtnA.o%s} \
  46.     %{!ansi:crtn.o%s}}}"
  47.  
  48. /* Library spec.  */
  49.  
  50. #undef LIB_SPEC
  51. #define LIB_SPEC \
  52.  "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} \
  53.  %{scoxpg3:-lcX -lcP -lcA} \
  54.  %{!scoxpg3:\
  55.   %{posix:-lcP -lcA} \
  56.   %{!posix:\
  57.    %{ansi:-lcA} \
  58.    %{!ansi:%{scointl:-lintl} -lc}}}"
  59.  
  60. /* Macros, macros everywhere:
  61.    Specify predefined symbols in preprocessor.  */
  62.  
  63. #undef CPP_PREDEFINES
  64. #define CPP_PREDEFINES "-Di386 -Dunix -Asystem(unix) -Asystem(svr3) -Acpu(i386) -Amachine(i386)"
  65.  
  66. #undef CPP_SPEC
  67. #define CPP_SPEC \
  68.  "-D_M_I386 -D_M_I86 -D_M_I86SM -D_M_SDATA -D_M_STEXT \
  69.   -D_M_UNIX -D_M_XENIX \
  70.   -D_M_SYS5 -D_M_SYSV -D_M_SYS3 -D_M_SYSIII \
  71.   -D_M_COFF -D_M_BITFIELDS -D_M_WORDSWAP \
  72.   %{scoxpg3:-D_XOPEN_SOURCE -D_STRICT_NAMES} \
  73.   %{!scoxpg3:%{posix:-D_POSIX_SOURCE -D_STRICT_NAMES}} \
  74.   %{!scoxpg3:%{!posix:\
  75.     %{ansi:-D_STRICT_NAMES}%{!ansi:\
  76.     -DM_I386 -DM_I86 -DM_I86SM -DM_SDATA -DM_STEXT \
  77.     -DM_UNIX -DM_XENIX \
  78.     -DM_SYS5 -DM_SYSV -DM_SYS3 -DM_SYSIII \
  79.     -DM_COFF -DM_BITFIELDS -DM_WORDSWAP \
  80.     %{scointl:-D_M_INTERNAT -DM_INTERNAT} \
  81.     %{traditional:-D_KR -D_SVID -D_NO_PROTOTYPE}}}}"
  82.